/*******************************************************************************
 * Copyright (c) 2007 University of Oslo.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     University of Oslo - initial API and implementation
 *******************************************************************************/

package com.cea.papyrus.diagram.sequence.sedi.figures;

import org.eclipse.draw2d.geometry.Rectangle;

/**
 * Figures that have a single label should implement this interface in order
 * to take advantage of direct editing.
 * 
 * @author frankd@ifi.uio.no
 * 
 * @see com.cea.papyrus.diagram.sequence.sedi.edit.AbstractNamedEditPart
 */
public interface ILabeledFigure {
	Rectangle getLabelBounds();
	void setLabel(String labelText);
}
